auth_mysql and php [migrated]

Posted by user1052448 on Pro Webmasters See other posts from Pro Webmasters or by user1052448
Published on 2011-11-21T19:04:13Z Indexed on 2011/11/22 2:11 UTC
Read the original article Hit count: 252

Filed under:
|

I have a directory with auth_mysql in a virtualhost file password protected using a mysql user/pass combo.

The problem I have is one file inside that directory needs to be accessed without a user/pass. Is there a way I can pass the user/pass within the php file? Or excluse the one file? What would I put between the code below?

<Location /password-protected>
   ...mysql password protection
   require valid-user
</Location>

© Pro Webmasters or respective owner

Related posts about php

Related posts about mysql